Data Parallel C++ by James Reinders & Ben Ashbaugh & James Brodman & Michael Kinsner & John Pennycook & Xinmin Tian

Data Parallel C++ by James Reinders & Ben Ashbaugh & James Brodman & Michael Kinsner & John Pennycook & Xinmin Tian

Author:James Reinders & Ben Ashbaugh & James Brodman & Michael Kinsner & John Pennycook & Xinmin Tian
Language: eng
Format: epub
ISBN: 9781484255742
Publisher: Apress


Interoperability with API-Defined Kernel Objects

With this form of interoperability, the kernel objects themselves are created in another API and then imported into SYCL. This form of interoperability enables one part of an application to directly create and use kernel objects using underlying APIs and another part of the application to reuse the same kernels using SYCL APIs. The code in Figure 10-8 shows how a SYCL kernel may be created from an OpenCL kernel object.

Figure 10-8Kernel created from an OpenCL kernel object



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.